//
//  LSOptionViewController.h
//  LibraryStorm
//
//  Created by Anh Nguyen on 4/16/14.
//  Copyright (c) 2014 3ATeam. All rights reserved.
//

#import "LSViewController.h"
#import "Constants.h"

@protocol LSOptionViewControllerDelegate;

@interface LSOptionViewController : LSViewController <UITableViewDataSource, UITableViewDelegate>

@property (nonatomic, assign) OptionType optionType;
@property (nonatomic, strong) NSArray *items;
@property (nonatomic, strong) NSString *titleName;
@property (nonatomic, assign) NSObject <LSOptionViewControllerDelegate> *delegate;
@property (nonatomic, assign) id defaultSeletedObject;
@end

@protocol LSOptionViewControllerDelegate <NSObject>
@optional
- (void)didSelectOption:(OptionType)optionType andStyle:(NSInteger)style;
@end